<div id="data_page" class="in_page">
	<div class="panel panel-default">
		<!--<button type="button" id="sub" class="btn btn-sm  btn-primary fBtn">导出本次聊天记录</button>-->

</div>
      <table class="table table-bordered" style="text-align:center">
        <thead>
          <tr>
           <!--  <th><span class="glyphicon glyphicon-leaf"></span>ID</th> -->
           	<th><span class="glyphicon glyphicon-leaf"></span>客户发送时间</th>
            <th><span class="glyphicon glyphicon-leaf"></span>客户发送内容</th>
            <th><span class="glyphicon glyphicon-leaf"></span>客服发送内容</th>
            <th><span class="glyphicon glyphicon-leaf"></span>客服发送时间</th>
            
          </tr>     
        </thead>
        <tbody>
         <volist name="list" id="data">
          <if condition="$data['opercode'] eq '2003'">
          <tr>
          	<td><?php echo date('Y-m-d H:i:s',$data['time']); ?></td>
            <td>{$data['text']} </td>
            <td></td>
            <td></td>
          </tr>
          </if>
          <if condition="$data['opercode'] eq '2002'">
          <tr>
            <td></td>
            <td></td>
            <td>{$data['text']}</td>
            <td><?php echo date('Y-m-d H:i:s',$data['time']); ?></td>
          </tr>
          </if>
        </volist>
        </tbody>
      </table> 
</div>
<div class="pagelist">{$list['page']} </div>
<style>
 .pagelist{ text-align:right; background:#f1f1f1; padding:7px 0;}
  .pagelist a{ margin:0 5px; border:#6185a2 solid 1px; display:inline-block; padding:2px 6px 1px; line-height:16px; background:#fff; color:#6185a2;}
 .pagelist span{ margin:0 5px; border:#6185a2 solid 1px; display:inline-block; padding:2px 6px 1px; line-height:16px; color:#6185a2; color:#fff; background:#6185a2;}
 .trr td{height: 50px; line-height: 50px}

</style> 


<script type="text/javascript">
	$("#sub").click(function(){
		
	});
</script>
